// priority: 0

// Custom Info Pages
// --------------------------------
// ----- Additional Additions -----
// --------------------------------
// Gold Ring
onEvent('rei.information', event => {
	event.add('additionaladditions:gold_ring', 'Title', ['The Gold Ring can be obtained by bartering with Piglins.', 'The barter has a 1.5% chance.'])
})
// Wrench
onEvent('rei.information', event => {
	event.add(Item.of('additionaladditions:wrench', '{Damage:0}'), 'Title', ['The Wrench can be placed in a Dispenser and will rotate the block the Dispenser is currently facing.'])
})
// Pocket Jukebox
onEvent('rei.information', event => {
	event.add('additionaladditions:pocket_jukebox', 'Title', ['§nInserting a Disc:','Right click the Pocket Jukebox while holding a Music Disc on your cursor.','§nRemoving the Disc:','Right click the Pocket Jukebox when your cursor is empty.','§nVideo: §bstreamable.com/e/6wyegh'])
})
// Copper Patina
onEvent('rei.information', event => {
	event.add('additionaladditions:copper_patina', 'Title', ['Obtained by using an Axe to scrape off oxidation layers from Copper Blocks. Each layer drops 1 piece of Copper Patina.'])
})
// Glowstick
onEvent('rei.information', event => {
	event.add('additionaladditions:glow_stick', 'Title', ['Glowsticks can be thrown and will emit a light level of 12.'])
})
// Mysterious Bundle
onEvent('rei.information', event => {
	event.add('additionaladditions:mysterious_bundle', 'Title', ['Can be purchased from Wandering Traders and will drop 1 to 5 random items when consumed. Need help? Contact NCPG.'])
})
// Rope
onEvent('rei.information', event => {
	event.add('additionaladditions:rope', 'Title', ['Can be placed on the sides or bottom of solid blocks. Will extend downward when placed on the source block. The rope will break without supporint blocks.'])
})

// Amethyst Lamp
onEvent('rei.information', event => {
	event.add('additionaladditions:amethyst_lamp', 'Title', ['Prevents mob spawning in an 8 block radious when powered. It does not produce light when activated.'])
})
// Potion of Glowing
onEvent('rei.information', event => {
	event.add(Item.of('minecraft:potion', '{Potion:"additionaladditions:glow_potion"}'), 'Title', ['Can be brewed in a Brewing Stand using an Awkward Potion and a Glow Ink Sac.'])
})
onEvent('rei.information', event => {
	event.add(Item.of('minecraft:splash_potion', '{Potion:"additionaladditions:glow_potion"}'), 'Title', ['Can be brewed in a Brewing Stand using an Awkward Potion and a Glow Ink Sac.'])
})
onEvent('rei.information', event => {
	event.add(Item.of('minecraft:lingering_potion', '{Potion:"additionaladditions:glow_potion"}'), 'Title', ['Can be brewed in a Brewing Stand using an Awkward Potion and a Glow Ink Sac.'])
})
// Potion of Haste
onEvent('rei.information', event => {
	event.add(Item.of('minecraft:potion', '{Potion:"additionaladditions:haste_potion"}'), 'Title', ['Can be brewed in a Brewing Stand using an Awkward Potion and Amethyst Crystal.'])
})
onEvent('rei.information', event => {
	event.add(Item.of('minecraft:splash_potion', '{Potion:"additionaladditions:haste_potion"}'), 'Title', ['Can be brewed in a Brewing Stand using an Awkward Potion and Amethyst Crystal.'])
})
onEvent('rei.information', event => {
	event.add(Item.of('minecraft:lingering_potion', '{Potion:"additionaladditions:haste_potion"}'), 'Title', ['Can be brewed in a Brewing Stand using an Awkward Potion and Amethyst Crystal.'])
})

// --------------------------------
// ---------- Waystones -----------
// --------------------------------
// Abyss Watcher
onEvent('rei.information', event => {
	event.add('waystones:abyss_watcher', 'Title', ['Allows you to teleport to other waystones by right clicking it, consuming the itum upon use.'])
})
// Waystone Scroll
onEvent('rei.information', event => {
	event.add('waystones:waystone_scroll', 'Title', ['Right clicking a Waystine will store all discovered Waystones. The scroll can then be used to share discovered Waystones between players.'])
})
// Local Void
onEvent('rei.information', event => {
	event.add('waystones:local_void', 'Title', ['Right clicking on a Waystone will bind it to that Waystone. Right clicking the item will teleport the player to the bound location, as long as it exists, free of charge, with the item disappearing on use. If the waystone no longer exists, the local void resets itself.'])
})
// Pocket Wormhole
onEvent('rei.information', event => {
	event.add('waystones:pocket_wormhole', 'Title', ['Similarly to the Abyss Watcher, it allows the players to open the teleportation interface from anywhere, except the item doesn\'t get destroyed on teleportation.'])
})

// --------------------------------
// ------ Rings Of Ascension ------
// --------------------------------
onEvent('rei.information', event => { event.add('ringsofascension:ring_fire_resistance', 'Title', ['§nSpawn locations:','Nether Bridge\nRuined Portal\nBastion Treasure']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_dolphin', 'Title', ['§nSpawn locations:','Underwater Ruins\nBuried Treasure']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_invisibility', 'Title', ['§nSpawn locations:','Abandoned Mineshaft\nBuried Treasure']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_jump_boost', 'Title', ['§nSpawn locations:','End City\nIgloo\nDesert Pyramid']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_luck', 'Title', ['§nSpawn locations:','Simple Dungeon\nJungle Temple']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_mining', 'Title', ['§nSpawn locations:','Simple Dungeon\nAbandoned Mineshaft']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_night_vision', 'Title', ['§nSpawn locations:','Spawn Bonus Chest\nSimple Dungeon\nAbandoned Mineshaft']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_regeneration', 'Title', ['§nSpawn locations:','Strongholds']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_slow_falling', 'Title', ['§nSpawn locations:','Simple Dungeon\nBuried Treasure\nEnd City']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_speed', 'Title', ['§nSpawn locations:','Spawn Bonus Chest\nSimple Dungeon\nBuried Treasure']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_strength', 'Title', ['§nSpawn locations:','Strongholds\nPillager Outpost\nBastion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_water_breathing', 'Title', ['§nSpawn locations:','Spawn Bonus Chest\nUnderwater Ruins\nBuried Treasure']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_slow_resistance', 'Title', ['§nSpawn locations:','End City\nShipwreck\nBastion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_poison_resistance', 'Title', ['§nSpawn locations:','Jungle Temple\nEnd City\nShipwreck\nBastion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_wither', 'Title', ['§nSpawn locations:','Bastion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_magnetism', 'Title', ['§nSpawn locations:','Spawn Bonus Chest\nSimple Dungeon\nBuried Treasure\nRuined Portal']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_flight', 'Title', ['§nSpawn locations:','End City']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_hungerless', 'Title', ['§nSpawn locations:','Village Butcher Chest\nEnd City\nWoodland Mansion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_experience', 'Title', ['§nSpawn locations:','Spawn Bonus Chest\nSimple Dungeon\nBuried Treasure\nRuined Portal']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_growth', 'Title', ['§nSpawn locations:','Jungle Temple']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_knockback_resistance', 'Title', ['§nSpawn locations:','End City\nNether Bridge\nBastion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_health', 'Title', ['§nSpawn locations:','End City\nStronghold\nBastion']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_sponge', 'Title', ['§nSpawn locations:','Underwater Ruins']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_water_walking', 'Title', ['§nSpawn locations:','Underwater Ruins\nBuried Treasure']) })
onEvent('rei.information', event => { event.add('ringsofascension:ring_undying', 'Title', ['§n§nSpawn locations:','Woodland Mansion']) })


// Custom Tooltips
onEvent('item.tooltip', tooltip => {
	// Add tooltip to all of these items
	// tooltip.add(['quark:backpack', 'quark:magnet', 'quark:crate'], 'Added by Quark Oddities')
	// You can also use any ingredient except #tag
	//tooltip.add(/refinedstorage:red_/, 'Can be any color')
	// Multiple lines with an array []. You can also escape ' by using other type of quotation marks
	
	// --------------------------------
	// ----- Additional Additions -----
	// --------------------------------
	// Gold Ring
	tooltip.add('additionaladditions:gold_ring', ["§7Obtainable by bartering with Piglins"])
	// Wrench
	tooltip.add(Item.of('additionaladditions:wrench', '{Damage:0}'), ["§7Can rotate blocks by right clicking them"])
	// Pocket Jukebox
	tooltip.add('additionaladditions:pocket_jukebox', ["§7Take your beats on the go"])
	// Copper Patina
	tooltip.add('additionaladditions:copper_patina', ["§7Similar to Redstone but loses 2 power per block"])
	// Watering Can
	tooltip.add('additionaladditions:watering_can', ["§7Has a 24% chance to fertilize crops"])
	// Mysterious Bundle
	tooltip.add('additionaladditions:mysterious_bundle', ["§7It's not gambling, it's suprise mechanics!"])

	
})


